package model;

import java.util.Date;

import org.apache.ibatis.type.Alias;

@Alias("user")//别名用于bean映射配置文件中parameterType的值
public class User {
	private Integer id;
	private String username;
	private String password;
	private Date addtime;

	@Override
	public String toString() {
		return "User [id=" + id + ", username=" + username + ", password=" + password + ", addtime=" + addtime + "]";
	}
	
}
